Download OpenAPI specification:
PHPR API USING API-PLATFORM
Creates a rents resource.
| id required | string rents identifier |
The new rents resource
| project | string or null <iri-reference> |
| location | string or null |
| task | string or null <iri-reference> |
| chargingInvoices | Array of strings <iri-reference> [ items <iri-reference > ] |
| chargingProjects | Array of strings <iri-reference> [ items <iri-reference > ] |
| dateStart required | string <date-time> |
| dateEnd | string or null <date-time> |
| dateCheckout | string or null <date-time> |
| dateCheckin | string or null <date-time> |
| chargeable required | boolean Default: true |
| description | string or null |
| note | string or null |
| client required | string <iri-reference> |
| responsible | string <iri-reference> |
| reservedEmployee | string or null <iri-reference> |
| product | string or null <iri-reference> |
| chargedProduct | string or null <iri-reference> |
| type required | string <iri-reference> |
| owningCorporation | string <iri-reference> |
| productQuantity | integer Default: 1 |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customProperties | any Can contain anything (array, objects, nested objects...). |
| customData | Array of strings or null |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
| disabledAt | string or null <date-time> |
object (Collection.jsonld) | |
| upload_filename | string |
| upload_subfolder | string |
| upload_file | string |
| upload_file_link | string |
| timestamp | string <date-time> Get createdAt. |
| upload_Subfolder | string |
| upload_File | string |
| upload_File_Link | string |
{- "location": "string",
- "dateStart": "2019-08-24T14:15:22Z",
- "dateEnd": "2019-08-24T14:15:22Z",
- "dateCheckout": "2019-08-24T14:15:22Z",
- "dateCheckin": "2019-08-24T14:15:22Z",
- "chargeable": true,
- "description": "string",
- "note": "string",
- "productQuantity": 1,
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "entityFiles": { },
- "upload_filename": "string",
- "upload_subfolder": "string",
- "upload_file": "string",
- "upload_file_link": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "upload_Subfolder": "string",
- "upload_File": "string",
- "upload_File_Link": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "project": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "W",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "location": "string",
- "task": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "shortcode": "T",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "dateStart": "2019-08-24T14:15:22Z",
- "dateEnd": "2019-08-24T14:15:22Z",
- "dateCheckout": "2019-08-24T14:15:22Z",
- "dateCheckin": "2019-08-24T14:15:22Z",
- "chargeable": true,
- "description": "string",
- "note": "string",
- "client": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "C",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "responsible": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "E",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "reservedEmployee": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "E",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "product": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "A",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "chargedProduct": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "A",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "type": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "RET",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "owningCorporation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CO",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "shortcode": "RE",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "chargingInvoicesListing": "string",
- "chargingProjectsListing": "string",
- "chargeableQty": 0,
- "validChargeable": true,
- "toString": "string",
- "isReturned": true,
- "anonymousToken": "string",
- "days": [
- "string"
], - "customPropertiesListing": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}